import request from "@/utils/request";

// 1.概览
export function overview(params?: any) {
    return request({
        url: "/v2/traffic-state/road/green-wave/overview",
        params,
    });
}

// 2.绿波列表概述(运行时间内)
export function listOverview(params?: any) {
    return request({
        url: "/v2/traffic-state/road/green-wave/listOverview",
        params,
    });
}

// 3.绿波地图展示
export function greenWaveMapShow(params?: any) {
    return request({
        url: "/v2/traffic-state/road/green-wave/greenWaveMapShow",
        params,
    });
}

// 4.绿波详情
export function greenWaveDetails(params?: any) {
    return request({
        url: "/v2/traffic-state/road/green-wave/greenWaveDetails",
        params,
    });
}

// 5.绿波图表详情
export function greenWaveIconDetails(params?: any) {
    return request({
        url: "/v2/traffic-state/road/green-wave/greenWaveIconDetails",
        params,
    });
}

export function webConfig(params?: any) {
    return request({
        url: "/v2/traffic-state/common/common/webConfig",
        params,
    });
}
